package com.ihome.excel.xlsx.test.validaterule;

import java.util.Map;

import com.ihome.excel.xlsx.exceptions.RowsBusinessException;
import com.ihome.excel.xlsx.validate.IRowsValidateRule;

public class MapRowsValidate implements IRowsValidateRule {

    @Override
    public void rowValidateRule(Object rowValue) throws RowsBusinessException {
        Map map = (Map)rowValue;
        System.out.println("姓名:" + map.get("name"));
    }

    @Override
    public int rowsBatch() {
        // TODO Auto-generated method stub
        return 0;
    }
    
    

}
